<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="columns pull-left">
                        <span class="pagination-info" id="profit"></span><br/>
                        <span class="pagination-info" id="profits"></span>
                    </div>
                    <div class="columns pull-right">
                        <button class="btn btn-success" onclick="reLoad()">查询</button>
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <input id="dateTime" type="text" class="form-control"
                               placeholder="订单开始和结束日期">
                        <input id="startTime" type="hidden" name="startTime">
                        <input id="endTime" type="hidden" name="endTime">
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <input id="orderNo" type="text" class="form-control"
                               placeholder="商户自定义订单号">
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <input id="orderId" type="text" class="form-control"
                               placeholder="平台订单号">
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <select data-placeholder="选择商户" id="merchantId" name="merchantId"
                                class="form-control chosen-select"
                                tabindex="2" style="width: 100%">
                        </select>
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <select data-placeholder="选择商户代理" id="merchantAgentId" name="merchantAgentId"
                                class="form-control chosen-select"
                                tabindex="2" style="width: 100%">
                            <option value="">请选择商户代理</option>
                        </select>
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <select data-placeholder="选择订单状态" id="status" name="status"
                                class="form-control chosen-select"
                                tabindex="2" style="width: 100%">
                            <option value="">请选择订单状态</option>
                            <option value="1">未支付</option>
                            <option value="2">已付款</option>
                            <option value="4">已失效</option>
                            <option value="5">已完成</option>
                        </select>
                    </div>
                    <div class="columns pull-right col-md-2 nopadding">
                        <select data-placeholder="选择支付渠道" id="payType" name="payType"
                                class="form-control chosen-select"
                                tabindex="2" style="width: 100%">
                            <option value="">请选择支付渠道</option>
                            <option value="1">支付宝固码</option>
                            <option value="2">微信固码</option>
                            <option value="3">支付宝H5跳转</option>
                            <option value="4">支付宝账号(吱口令)</option>
                        </select>
                    </div>
                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="orders:merchant:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/lay/laydate/laydate.js"></script>
<script type="text/javascript" src="/js/appjs/orders/merchant/list.js?ver="+Math.random()></script>
</body>
</html>